package com.firebird.app.fekpsl.mvp.user

import com.firebird.app.fekpsl.base.BaseModel
import com.firebird.app.fekpsl.http.RetrofitHelper
import com.firebird.app.fekpsl.bean.HttpResult
import com.firebird.app.fekpsl.bean.LoginData
import io.reactivex.Observable

/**
 * Created by chenxz on 2018/6/3.
 */
class RegisterModel : BaseModel(), RegisterContract.Model {

    override fun registerFejpslAndroid(username: String, password: String): Observable<HttpResult<LoginData>> {
        return RetrofitHelper.userService.registerFekpslAndroid(username, password)
    }

}